System and method for performing authentication using data analytics

ABSTRACT

A system, apparatus, method, and machine readable medium are described for performing authentication using data analytics such as machine learning. For example, one embodiment of a method comprises: selecting a set of parameters related to user activity on a client device; receiving a request to authenticate the user for a current transaction; responsively calculating a distance between parameters associated with the current transaction and historical parameters from an existing dataset; determining a risk level associated with the current transaction based on the calculated distances between the parameters associated with the current transaction and the historical parameters; selecting one or more authentication techniques required to authenticate the user based on the risk level; performing the one or more authentication techniques to attempt to authenticate the user and generating an authentication result; and updating the historical parameters using the parameters associated with the current transaction and the authentication result.

BACKGROUND

Field of the Invention

This invention relates generally to the field of data processing systems. More particularly, the invention relates to a system and method for performing authentication using data analytics such as machine learning.

Description of Related Art

Systems have also been designed for providing secure user authentication over a network using biometric sensors. In such systems, the a score generated by an authenticator, and/or other authentication data, may be sent over a network to authenticate the user with a remote server. For example, Patent Application No. 2011/0082801 (“'801 application”) describes a framework for user registration and authentication on a network which provides strong authentication (e.g., protection against identity theft and phishing), secure transactions (e.g., protection against “malware in the browser” and “man in the middle” attacks for transactions), and enrollment/management of client authentication tokens (e.g., fingerprint readers, facial recognition devices, smartcards, trusted platform modules, etc).

The assignee of the present application has developed a variety of improvements to the authentication framework described in the '801 application. Some of these improvements are described in the following set of US patent applications, which are assigned to the present assignee: Ser. No. 13/730,761, Query System and Method to Determine Authentication Capabilities; Ser. No. 13/730,776, System and Method for Efficiently Enrolling, Registering, and Authenticating With Multiple Authentication Devices; Ser. No. 13/730,780, System and Method for Processing Random Challenges Within an Authentication Framework; Ser. No. 13/730,791, System and Method for Implementing Privacy Classes Within an Authentication Framework; Ser. No. 13/730,795, System and Method for Implementing Transaction Signaling Within an Authentication Framework; and Ser. No. 14/218,504, Advanced Authentication Techniques and Applications (hereinafter “'504 application”). These applications are sometimes referred to herein as the (“Co-pending applications”).

Briefly, the Co-Pending applications describe authentication techniques in which a user enrolls with authentication devices (or Authenticators) such as biometric devices (e.g., fingerprint sensors) on a client device. When a user enrolls with a biometric device, biometric reference data is captured (e.g., by swiping a finger, snapping a picture, recording a voice, etc). The user may subsequently register/provision the authentication devices with one or more servers over a network (e.g., Websites or other relying parties equipped with secure transaction services as described in the Co-Pending Applications); and subsequently authenticate with those servers using data exchanged during the registration process (e.g., cryptographic keys provisioned into the authentication devices). Once authenticated, the user is permitted to perform one or more online transactions with a Website or other relying party. In the framework described in the Co-Pending Applications, sensitive information such as fingerprint data and other data which can be used to uniquely identify the user, may be retained locally on the user's authentication device to protect a user's privacy.

The '504 application describes a variety of additional techniques including techniques for designing composite authenticators, intelligently generating authentication assurance levels, using non-intrusive user verification, transferring authentication data to new authentication devices, augmenting authentication data with client risk data, and adaptively applying authentication policies, and creating trust circles, to name just a few.

BRIEF DESCRIPTION OF THE DRAWINGS

A better understanding of the present invention can be obtained from the following detailed description in conjunction with the following drawings, in which:

FIGS. 1A-B illustrate two different embodiments of a secure authentication system architecture;

FIG. 2 is a transaction diagram showing how keys may be registered into authentication devices;

FIG. 3 illustrates a transaction diagram showing remote authentication;

FIGS. 4A-B illustrate different embodiments of a system for performing authentication using machine learning techniques;

FIG. 5 illustrates one embodiment of a method for performing authentication using machine learning techniques;

FIG. 6 illustrates another embodiment of a method for performing authentication using machine learning techniques;

FIG. 7 illustrates one embodiment of a computer architecture used for servers and/or clients; and

FIG. 8 illustrates one embodiment of a computer architecture used for servers and/or clients.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

Described below are embodiments of an apparatus, method, and machine-readable medium for implementing advanced authentication techniques and associated applications. Throughout the description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are not shown or are shown in a block diagram form to avoid obscuring the underlying principles of the present invention.

The embodiments of the invention discussed below involve authentication devices with user verification capabilities such as biometric modalities or PIN entry. These devices are sometimes referred to herein as “tokens,” “authentication devices,” or “authenticators.” While certain embodiments focus on facial recognition hardware/software (e.g., a camera and associated software for recognizing a user's face and tracking a user's eye movement), some embodiments may utilize additional biometric devices including, for example, fingerprint sensors, voice recognition hardware/software (e.g., a microphone and associated software for recognizing a user's voice), and optical recognition capabilities (e.g., an optical scanner and associated software for scanning the retina of a user). The user verification capabilities may also include non-biometric modalities, like PIN entry. The authenticators might use devices like trusted platform modules (TPMs), smartcards and secure elements for cryptographic operations and key storage.

In a mobile biometric implementation, the biometric device may be remote from the relying party. As used herein, the term “remote” means that the biometric sensor is not part of the security boundary of the computer it is communicatively coupled to (e.g., it is not embedded into the same physical enclosure as the relying party computer). By way of example, the biometric device may be coupled to the relying party via a network (e.g., the Internet, a wireless network link, etc) or via a peripheral input such as a USB port. Under these conditions, there may be no way for the relying party to know if the device is one which is authorized by the relying party (e.g., one which provides an acceptable level of authentication strength and integrity protection) and/or whether a hacker has compromised or even replaced the biometric device. Confidence in the biometric device depends on the particular implementation of the device.

The term “local” is used herein to refer to the fact that the user is completing a transaction in person, at a particular location such as at an automatic teller machine (ATM) or a point of sale (POS) retail checkout location. However, as discussed below, the authentication techniques employed to authenticate the user may involve non-location components such as communication over a network with remote servers and/or other data processing devices. Moreover, while specific embodiments are described herein (such as an ATM and retail location) it should be noted that the underlying principles of the invention may be implemented within the context of any system in which a transaction is initiated locally by an end user.

The term “relying party” is sometimes used herein to refer, not merely to the entity with which a user transaction is attempted (e.g., a Website or online service performing user transactions), but also to the secure transaction servers (sometimes referred to as “au implemented on behalf of that entity which may performed the underlying authentication techniques described herein. The secure transaction servers may be owned and/or under the control of the relying party or may be under the control of a third party offering secure transaction services to the relying party as part of a business arrangement.

The term “server” is used herein to refer to software executed on a hardware platform (or across multiple hardware platforms) that receives requests over a network from a client, responsively performs one or more operations, and transmits a response to the client, typically including the results of the operations. The server responds to client requests to provide, or help to provide, a network “service” to the clients. Significantly, a server is not limited to a single computer (e.g., a single hardware device for executing the server software) and may, in fact, be spread across multiple hardware platforms, potentially at multiple geographical locations.

Exemplary System Architectures and Transactions

FIGS. 1A-B illustrate two embodiments of a system architecture comprising client-side and server-side components for registering authentication devices (also sometimes referred to as “provisioning”) and authenticating a user. The embodiment shown in FIG. 1A uses a web browser plugin-based architecture for communicating with a website while the embodiment shown in FIG. 1B does not require a web browser. The various techniques described herein such as enrolling a user with authentication devices, registering the authentication devices with a secure server, and verifying a user may be implemented on either of these system architectures. Thus, while the architecture shown in FIG. 1A is used to demonstrate the operation of several of the embodiments described below, the same basic principles may be easily implemented on the system shown in FIG. 1B (e.g., by removing the browser plugin 105 as the intermediary for communication between the server 130 and the secure transaction service 101 on the client).

Turning first to FIG. 1A, the illustrated embodiment includes a client 100 equipped with one or more authentication devices 110-112 (sometimes referred to in the art as authentication “tokens” or “Authenticators”) for enrolling and verifying an end user. As mentioned above, the authentication devices 110-112 may include biometric device such as fingerprint sensors, voice recognition hardware/software (e.g., a microphone and associated software for recognizing a user's voice), facial recognition hardware/software (e.g., a camera and associated software for recognizing a user's face), and optical recognition capabilities (e.g., an optical scanner and associated software for scanning the retina of a user) and support for non-biometric modalities, such as PIN verification. The authentication devices might use trusted platform modules (TPMs), smartcards or secure elements for cryptographic operations and key storage.

The authentication devices 110-112 are communicatively coupled to the client through an interface 102 (e.g., an application programming interface or API) exposed by a secure transaction service 101. The secure transaction service 101 is a secure application for communicating with one or more secure transaction servers 132-133 over a network and for interfacing with a secure transaction plugin 105 executed within the context of a web browser 104. As illustrated, the Interface 102 may also provide secure access to a secure storage device 120 on the client 100 which stores information related to each of the authentication devices 110-112 such as a device identification code, user identification code, user enrollment data (e.g., scanned fingerprint or other biometric data) protected by he authentication device, and keys wrapped by the authentication device used to perform the secure authentication techniques described herein. For example, as discussed in detail below, a unique key may be stored into each of the authentication devices and used when communicating to servers 130 over a network such as the Internet.

As discussed below, certain types of network transactions are supported by the secure transaction plugin 105 such as HTTP or HTTPS transactions with websites 131 or other servers. In one embodiment, the secure transaction plugin is initiated in response to specific HTML tags inserted into the HTML code of a web page by the web server 131 within the secure enterprise or Web destination 130 (sometimes simply referred to below as “server 130”). In response to detecting such a tag, the secure transaction plugin 105 may forward transactions to the secure transaction service 101 for processing. In addition, for certain types of transactions (e.g., such as secure key exchange) the secure transaction service 101 may open a direct communication channel with the on-premises transaction server 132 (i.e., co-located with the website) or with an off-premises transaction server 133.

The secure transaction servers 132-133 are coupled to a secure transaction database 120 for storing user data, authentication device data, keys and other secure information needed to support the secure authentication transactions described below. It should be noted, however, that the underlying principles of the invention do not require the separation of logical components within the secure enterprise or web destination 130 shown in FIG. 1A. For example, the website 131 and the secure transaction servers 132-133 may be implemented within a single physical server or separate physical servers. Moreover, the website 131 and transaction servers 132-133 may be implemented within an integrated software module executed on one or more servers for performing the functions described below.

As mentioned above, the underlying principles of the invention are not limited to a browser-based architecture shown in FIG. 1A. FIG. 1B illustrates an alternate implementation in which a stand-alone application 154 utilizes the functionality provided by the secure transaction service 101 to authenticate a user over a network. In one embodiment, the application 154 is designed to establish communication sessions with one or more network services 151 which rely on the secure transaction servers 132-133 for performing the user/client authentication techniques described in detail below.

In either of the embodiments shown in FIGS. 1A-B, the secure transaction servers 132-133 may generate the keys which are then securely transmitted to the secure transaction service 101 and stored into the authentication devices within the secure storage 120. Additionally, the secure transaction servers 132-133 manage the secure transaction database 120 on the server side.

Certain basic principles associated with remotely registering authentication devices and authenticating with a relying party will be described with respect to FIGS. 2-3, followed by a detailed description of embodiments of the invention for performing authentication using machine learning techniques.

FIG. 2 illustrates a series of transactions for registering authentication devices on a client (such as devices 110-112 on client 100 in FIGS. 1A-B) (sometimes referred to as “provisioning” authentication devices). For simplicity, the secure transaction service 101 and interface 102 are combined together as authentication client 201 and the secure enterprise or web destination 130 including the secure transaction servers 132-133 are represented as a relying party 202.

During registration of an authenticator (e.g., a fingerprint authenticator, voice authenticator, etc), a key associated with the authenticator is shared between the authentication client 201 and the relying party 202. Referring back to FIGS. 1A-B, the key may be stored within the secure storage 120 of the client 100 and the secure transaction database 120 used by the secure transaction servers 132-133. In one embodiment, the key is a symmetric key generated by one of the secure transaction servers 132-133. However, in another embodiment discussed below, asymmetric keys are be used. In this embodiment, the public/private key pair may be generated by the secure transaction servers 132-133. The public key may then be stored by the secure transaction servers 132-133 and the related private key may be stored in the secure storage 120 on the client. In an alternate embodiment, the key(s) may be generated on the client 100 (e.g., by the authentication device or the authentication device interface rather than the secure transaction servers 132-133). The underlying principles of the invention are not limited to any particular types of keys or manner of generating the keys.

A secure key provisioning protocol is employed in one embodiment to share the key with the client over a secure communication channel. One example of a key provisioning protocol is the Dynamic Symmetric Key Provisioning Protocol (DSKPP) (see, e.g., Request for Comments (RFC) 6063). However, the underlying principles of the invention are not limited to any particular key provisioning protocol. In one particular embodiment, the client generates a public/private key pair and sends the public key to the server, which may be attested with an attestation key.

Turning to the specific details shown in FIG. 2, to initiate the registration process, the relying party 202 generates a randomly generated challenge (e.g., a cryptographic nonce) that must be presented by the authentication client 201 during device registration. The random challenge may be valid for a limited period of time. In response, the authentication client 201 initiates an out-of-band secure connection with the relying party 202 (e.g., an out-of-band transaction) and communicates with the relying party 202 using the key provisioning protocol (e.g., the DSKPP protocol mentioned above). To initiate the secure connection, the authentication client 201 may provide the random challenge back to the relying party 202 (potentially with a signature generated over the random challenge). In addition, the authentication client 201 may transmit the identity of the user (e.g., a user ID or other code) and the identity of the authentication device(s) to be provisioned registered (e.g., using the authentication attestation ID (AAID) which uniquely identify the type of authentication device(s) being provisioned).

The relying party locates the user with the user name or ID code (e.g., in a user account database), validates the random challenge (e.g., using the signature or simply comparing the random challenge to the one that was sent), validates the authentication device's authentication code if one was sent (e.g., the AAID), and creates a new entry in a secure transaction database (e.g., database 120 in FIGS. 1A-B) for the user and the authentication device(s). In one embodiment, the relying party maintains a database of authentication devices which it accepts for authentication. It may query this database with the AAID (or other authentication device(s) code) to determine if the authentication device(s) being provisioned are acceptable for authentication. If so, then it will proceed with the registration process.

In one embodiment, the relying party 202 generates an authentication key for each authentication device being provisioned. It writes the key to the secure database and sends the key back to the authentication client 201 using the key provisioning protocol. Once complete, the authentication device and the relying party 202 share the same key if a symmetric key was used or different keys if asymmetric keys were used. For example, if asymmetric keys were used, then the relying party 202 may store the public key and provide the private key to the authentication client 201. Upon receipt of the private key from the relying party 202, the authentication client 201 provisions the key into the authentication device (storing it within secure storage associated with the authentication device). It may then use the key during authentication of the user (as described below). In an alternate embodiment, the key(s) are generated by the authentication client 201 and the key provisioning protocol is used to provide the key(s) to the relying party 202. In either case, once provisioning is complete, the authentication client 201 and relying party 202 each have a key and the authentication client 201 notifies the relying party of the completion.

FIG. 3 illustrates a series of transactions for user authentication with the provisioned authentication devices. Once device registration is complete (as described in FIG. 2), the relying party 202 will accept an authentication response (sometimes referred to as a “token”) generated by the local authentication device on the client as a valid authentication response.

Turning to the specific details shown in FIG. 3, in response to the user initiating a transaction with the relying party 202 which requires authentication (e.g., initiating payment from the relying party's website, accessing private user account data, etc), the relying party 202 generates an authentication request which includes a random challenge (e.g., a cryptographic nonce). In one embodiment, the random challenge has a time limit associated with it (e.g., it is valid for a specified period of time). The relying party may also identify the authenticator to be used by the authentication client 201 for authentication. As mentioned above, the relying party may provision each authentication device available on the client and stores a public key for each provisioned authenticator. Thus, it may use the public key of an authenticator or may use an authenticator ID (e.g., AAID) to identify the authenticator to be used. Alternatively, it may provide the client with a list of authentication options from which the user may select.

In response to receipt of the authentication request, the user may be presented with a graphical user interface (GUI) requesting authentication (e.g., in the form of a web page or a GUI of an authentication application/app). The user then performs the authentication (e.g., swiping a finger on a fingerprint reader, etc). In response, the authentication client 201 generates an authentication response containing a signature over the random challenge with the private key associated with the authenticator. It may also include other relevant data such as the user ID code in the authentication response.

Upon receipt of the authentication response, the relying party may validate the signature over the random challenge (e.g., using the public key associated with the authenticator) and confirm the identity of the user. Once authentication is complete, the user is permitted to enter into secure transactions with the relying party, as illustrated.

A secure communication protocol such as Transport Layer Security (TLS) or Secure Sockets Layer (SSL) may be used to establish a secure connection between the relying party 201 and the authentication client 202 for any or all of the transactions illustrated in FIGS. 2-3.

System and Method for Performing Authentication Using Data Analytics

The embodiments of the invention include techniques for detecting different behavioral patterns of users and devices by looking at authentication-relevant data on a larger scale and using these patterns to adjust authentication risk for transactions. Traditional authentication systems analyze a single data signal coming from user or a device, such as password or a cryptographic response and make a final authentication decision based on this signal. In contrast, the embodiments of the invention described below perform a larger scale analysis based on various different signals and data associated with user authentication, identifying interesting patterns relevant to a current transaction which cannot be detected with traditional systems.

As mentioned, traditional authentication systems are based on a single source of authentication data such as a user password and authentication keys. Servers commonly store user authentication data in user records and expect to receive proper authentication data during each authentication event. They perform a binary check—i.e., if the verification of authentication data succeeds, then the user is authenticated, if the verification fails, then the user is not authenticated. This scheme successfully works with thousands of websites today.

Even in next generation authentication protocols which allow a user to authenticate to a server using a client device's biometric authenticators, the essential authentication approach is based on binary verifications—i.e., verifications of cryptographic signatures provided by the authenticators. Though the client device may provide multiple cryptographic signatures, the server simply verifies these cryptographic signatures and makes a binary decision of success or failure.

The disadvantage of such systems is that they are vulnerable to advanced attacks. As long as the provided authentication data passes the server side verification, the authentication will be considered successful. However, if the client-side authenticators are compromised and the attacker can generate valid authentication data, these systems may be compromised. Without performing a more advanced analysis by looking at data on a larger scale, it is very difficult to detect such attacks and react appropriately.

Systems in which client-side authenticators are used to authenticate a user to an authentication server (such as described above with respect to FIGS. 1A-B, 2, and 3) have access on interesting data points which can be further analyzed to determine interesting patterns. The more data such systems collect, the richer the analysis will be. The analysis may be performed pre-authentication, during authentication, and/or post-authentication. For example, in one embodiment, the authentication server may look at all previous authentication attempts of a particular user and see if the current authentication operation fits within a larger pattern typical for this user. If it diverges from the typical pattern, then the current operation is less typical and therefore less trusted/riskier. In contrast, if the current authentication operation fits within previous patterns, the system may decide to not overwhelm the user and not require additional authentication or to utilize less intrusive authentication techniques.

FIG. 4A illustrates one embodiment of the invention in which the logic for performing data analytics to determine the level of risk based on current parameters and selecting authentication techniques is performed on the authentication server 450. FIG. 4B illustrates another embodiment in which the logic is implemented on the client device 400. The underlying principles of the invention remain the same regardless of whether the analysis is performed on the server side or the client side.

Turning first to the embodiment in FIG. 4A, the exemplary client device 400 includes an authentication client 410 for authenticating a user using one or more explicit user authentication devices 420-421 and/or non-intrusive authentication techniques 405. The explicit user authentication devices 420-421 represent any form of authentication which requires explicit user input such as fingerprint authenticators, voice or facial recognition, retinal scanning, or a keyboard (virtual or physical) on which the user may enter a secret password such as a PIN.

The non-intrusive authentication techniques 405 may be used to collect relevant data for determining the likelihood that the legitimate user is in possession of the client device 400. By way of example, and not limitation, the non-intrusive authentication techniques 405 may include determining a user's current location (e.g., via GPS or other location mechanisms) and comparing the current location against locations known to be visited by the end user (e.g., the user's “home” and “work” locations). For example, if the current location of the client device 400 is the user's work, then this may be used by the authentication client 410 when determining whether explicit user authentication is required (e.g., via one of the authentication devices 420-421) and/or the level of explicit user authentication.

In one particular embodiment, the definition of a “location” may not be tied to a set of physical coordinates (as with GPS), but instead be prescribed by the presence of a set of peer devices or other types of network devices. For example, when at work, the client's wireless network adapters (e.g., Wifi adapter, Bluetooth adapter, LTE adapter, etc) may “see” a set of peer network devices (e.g., other computers, mobile phones, tablets, etc) and network infrastructure devices (e.g., Wifi access points, cell towers, etc) on a consistent basis. Thus, the presence of these devices may be used for authentication when the user is at work. Other locations may be defined by the presence of devices in a similar manner such as when the user is at home.

Other non-intrusive authentication techniques 405 may include collecting data from sensors on the client device 400 such as accelerometers. For example, the biometric gait of the user may be measured using an accelerometer or other type of sensor in combination with software and/or hardware designed to generate a gait “fingerprint” of the user's normal walking pattern. Moreover, the current temperature, humidity, pressure and other environmental data may be collected and compared against known environmental data for the alleged current location of the client device 400 (e.g., to confirm that the current environmental readings match with the current asserted location). In addition, the non-intrusive authentication techniques may include measuring the time since the last successful explicit authentication using devices 420-421. The shorter the time, the more likely the current user is the legitimate user of the client device. These and other types of data may be gathered and analyzed to determine a likelihood that the current user is the legitimate user of the client device 400 (and therefore the extent to which explicit user authentication is required).

As mentioned above, a secure storage device 425 may be used to store authentication keys associated with each of the authentication devices 220-221. The authentication keys may be used to sign and encrypt communication with the relying party 250 via a secure communication channel.

In one embodiment, current parameters 406 are collected from the client device 400 by a risk analysis module 411 executed on the relying party authentication server 450. Numerous exemplary parameters are set forth below. The risk analysis module 411 may then compare the current parameters 406 against historical parameters and thresholds 430 maintained in storage on the authentication server 450 to determine a risk level 407 for the current transaction. In one embodiment, the risk level 407 represents the extent to which the current parameters 406 deviate from the historical parameters 430 (e.g., the “distance” between the current parameters and historical parameters) collected during prior successful authentications and/or the extent to which the current parameters 406 correlate with the historical parameters 430 collected during prior unsuccessful authentication attempts or fraudulent authentication attempts (which will tend to indicate greater risk). As discussed in detail below, in one embodiment, the risk level 407 is determined using an anomaly detection algorithm which uses a distance function to specify the distance between the current parameters 406 and the historical parameters 430 (as discussed in detail below).

In one embodiment, based on the detected risk level 407, the authentication server 450 selects authentication techniques 408 required to authenticate the user. In general, the greater the risk level 407 (e.g., the greater the distance from parameters indicating “normal” behavior), the more rigorous the authentication. For example, in one embodiment, if the risk level is above a specified threshold, then the authentication server 450 may require authentication using one or more explicit user authentication devices 420-421. In contrast, for a risk level below a specified threshold, then non-intrusive authentication techniques 405 may be sufficient. As mentioned above, the authentication request sent from the relying party may include other forms of security-related data such as a cryptographic nonce.

In response to the authentication request sent from the relying party, the authentication client 410 prompts the user to perform authentication using one or more specified authentication devices 420-421 (if explicit authentication is required). If the user successfully authenticates (e.g., swipes a registered finger on a fingerprint authenticator), then the authentication client 410 sends back an authentication response indicating a successful authentication. The authentication client 410 may send other security-related data with the authentication response such as the cryptographic nonce and/or a signature generated using the encryption key of the authenticator. The authentication server 450 may then verify the authentication response (e.g., verifying the cryptographic nonce and using a corresponding authenticator key to verify the signature). If verification is successful, the user will be allowed to perform the desired transaction. For example, in one embodiment, the authentication server 450 may send an indication of a successful authentication to the relying party Web server to permit the user to complete a transaction.

In one embodiment, a result analysis and update module 412 analyzes the parameters associated with the successful authentication or unsuccessful authentication attempt to generate updates 409 to the historical parameters and thresholds. For example, if the authentication is successful, then the current parameters 406 may be added as historical parameters 430 associated with successful authentications (thereby decreasing the “riskiness” associated with these parameters). In contrast, if the authentication is unsuccessful and/or if fraud is detected, then the update generated by the result analysis and update module 412 may associate one or more of the current parameters 406 will unsuccessful authentication attempts (e.g., making the existence of those parameters in future authentication attempts indicate a higher risk). For example, if the current parameters 406 indicate that the user is in a previously unobserved location and the authentication is unsuccessful, then the result analysis and update module 412 may update thresholds and/or weights associated with this location to increase the risk associated with this location. The resulting data is then integrated with the historical authentication parameters and thresholds database 430. Various different types of algorithms including machine learning algorithms (as described below) may be used by the result analysis and update module 412 to provide updates to the historical data.

In this manner, the result analysis and update module 412 continually analyzes and generates correlations for new authentication events (successful and unsuccessful) and responsively updates the existing historical data 430. The risk analysis module 411 may then use the updated historical data 430 for subsequent authentication attempts. Although illustrated as separate modules in FIGS. 4A-B, the risk analysis module 411 and result analysis and update module 412 may be implemented as a single integrated machine learning module to continually evaluate parameters related to user activity and update the historical database 430.

In one embodiment, the historical parameters and thresholds 430 are set based solely on the “normal” patterns of the user. That is, rather than incorporating data related to unsuccessful authentication events or fraudulent activities, the historical parameters 430 may be updated to include data related only to successful authentication events. Thus, in this embodiment, the risk analysis module 411 will attempt to measure the deviation from this normal user profile and generate a risk level 407 based on the amount of deviation from normal user behavior (e.g., based on whether one or more thresholds have been crossed as discussed below).

FIG. 4B illustrates an embodiment in which the risk analysis module 411 and result analysis and update module 412 are implemented within the authentication client 410 rather than on the authentication server 450 (or in addition to the implementation on the authentication server). As in the server-side embodiment shown in FIG. 4A, in this embodiment the risk analysis module 411 evaluates correlations between current parameters 406 and historical parameters 430 to determine the risk level 407 associated with the current transaction. Based on the risk level 407, the authentication client selects one or more authentication techniques 408 and provides the authentication results to the result analysis and update module 412 which then updates the historical parameters and threshold based on the current parameters 406 and the authentication results. Various specific parameters and authentication results which may be evaluated are provided below.

In one embodiment, the parameters collected and evaluated to determine the risk level 407 may include the identity of each user and a variety of data related to the authenticators 420-421 registered at the authentication server including, for example, the authentication attestation IDs (AAIDs) which uniquely identify the types of authentication device(s) registered; the Key IDs associated with the keys exchanged during authenticator registration (and stored in secure storage 425 on the client and the authentication server); cryptographic key data used for validating cryptographic signatures generated with the keys; a signature counter indicating the number of times signatures have been generated with the keys; and the authenticator version indicating the version of each of the authenticators. In addition, the parameters used to determine the risk level may include metadata associated with each of the authenticators such as the AAID (mentioned above), the authenticator vendor, the authenticator type (e.g., indicating if the authenticator is internal or external to the client), the authentication factor (e.g., fingerprint, voiceprint, presence, etc), and the key protection method (e.g., Trusted Execution Environment, Secure Elements, etc).

In order to perform a more detailed analysis, one embodiment of the invention collects and analyzes one or more of the following different parameters:

1. Parameters related to cryptographic key usage data

-   -   Timestamp of the operation     -   KeyID of the used key     -   Authentication operation performed     -   Indication of success or failure of the signature verification     -   Transaction ID associated with the operation     -   Transaction risk score associated with this operation     -   Final transaction authentication status (success or failure)

2. Parameters related to state transitions of the keys

-   -   Timestamp of transition     -   KeyID of the transitioning key     -   Authenticator version of the transitioning authenticator     -   Transitioned state (e.g., Good, Under Attack, Deregistered,         Duplicated, Compromised)

3. Parameters related to post-authentication fraud reports

-   -   Timestamp of the fraud     -   Transaction ID of transaction that has been reported as         fraudulent

4. Parameters related to historical security strength of keys

-   -   Timestamp of sampling     -   KeyID of the cryptographic key     -   Security strength by the time of sampling

5. Parameters related to historical security strength of authenticators

-   -   Timestamp of sampling     -   AAID of the authenticator     -   Security strength by the time of sampling

6. Additional parameters collected from alternative data sources

-   -   User device GPS location     -   User device surrounding WiFi information     -   Digital fingerprint of the user device     -   biometric score collected from user's biometric device

7. User activity parameters

-   -   Timestamp of user registration     -   Timestamp of last successful login     -   Last local authentication method and its timestamp

In one embodiment, the risk analysis module 411 determines the current risk level 407 by evaluating the parameters in the manner specified below. The evaluations may be based on (1) parameters related to the AAIDs and Keys on a client device; (2) parameters related to the time of user authentication; (3) parameters related to the location of the client device; (4) parameters related to network connectivity of the client device; and (5) parameters related to the biometric score generated by the authentication client (e.g., in response to a user authentication attempt).

1. AAIDs and Keys

In one embodiment, the number of times a cryptographic key or AAID has been successfully used in the past will decrease the risk associated with the use of that cryptographic key or AAID. In contrast, the number of times the cryptographic key or AAID has been associated with an unsuccessful authentication attempt or an attempted fraud will increase the risk associated with that cryptographic key or AAID. In one embodiment, the number of successful authentication attempts may be compared to authentication attempts using other cryptographic keys or AAIDs. If this key/AAID is used significantly less frequently than other keys/AAIDs then this may increase the risk level associated with its use.

Other variables which may be evaluated include the last time the cryptographic key has been used and the last time this user has used any authenticator. For example, if the user has not used the authenticator (or any authenticator) for an extended period of time (e.g., over a threshold), then this may increase the risk associated with the authenticator. In addition, if the cryptographic key has ever been duplicated and/or the frequency with which this AAID's keys are being duplicated may be considered to determine the risk (e.g., with more duplication indicating more risk).

Additional variables which may be evaluated include the frequency with which this cryptographic key's state been changed to “under_attack” (thereby indicating greater risk), the number of times this user deleted authenticators from his/her account, the number of times the user registered/deregistered a particular AAID (, the frequency with which users deregistered this AAID, the length of time the user used this AAID before he/she chose to deregister it; the number of times any authenticator from this vendor has been compromised; the number of times that this authenticator version has been compromised; the number of times this user has attempted to register authenticators within different specified periods of time (e.g., the last 20 seconds, 5 minutes, 60 minutes, 1 day, 7 days); and the number of times this user attempted to authenticate using an authenticator within last specified time period (e.g., 20 seconds, 5 minutes, 60 minutes, 1 day, 7 days).

2. Time of Authentication

In one embodiment, the periods of time during the day that the user typically requests authentication, the number of times per day/week/month that the user typically requests authentication may be evaluated to determine risk. For example, if the current authentication request is not at a typical time and/or day and/or if the number of times authentication has been requested per day/week/month is out of the norm, then this may indicate fraudulent activity. Another variable which may be evaluated is an indication as to whether this is an appropriate time for authentication for with this particular authenticator

3. Location

In one embodiment, the location variables evaluated to determine risk include the number of times this authenticator has been seen near the current location, the last time has this authenticator been seen near the given location, the amount of fraud seen in the past near this location, the amount of fraud seen in this location using this AAID, the distance of this location from the usual locations for this user, the distance this location is from the location where the user authenticated last time, and the general risk associated with this location/country.

4. Network Connectivity

In one embodiment, the network variables evaluated to determine risk include the number of times this user/key been seen near the given WiFi (or other network) range; the number of times a device within given the WiFi (or other network) range been involved in fraudulent activities; and the likelihood that the given WiFi is really available in the current alleged location.

5. Biometric Score

In one embodiment, the biometric score generated by the client's authenticator 420-421 may be used to determine risk. For example, the statistical average of the biometric score may be determined for this AAID. If the current score is a specified distance from the average, then this may indicate greater risk. In addition, the average biometric score for this particular user may be compared against the current score. Once again, if the current score is a specified distance from the average, then this may indicate greater risk.

In one embodiment of the invention, machine learning techniques are employed to identify the specific parameters which indicate fraudulent activity and/or legitimate activity (such as those described above). FIG. 5 illustrates one embodiment of a method for determining and evaluating parameters to evaluate risk. The method may be implemented within the context of the system architectures shown in FIGS. 4A-B but is not limited to any particular system architecture.

At 501, a number of parameters are selected which may be correlated to fraudulent activity. In one embodiment, the initial set of parameters are selected using a training process in which the parameters and authentication results are provided as input to a machine learning algorithm which identifies correlations between the parameters and fraudulent and/or legitimate activity. The end result is that certain parameters are identified which are highly correlated to legitimate and/or fraudulent activities.

At 502, one or more thresholds (T) are selected based on an evaluation of the parameters. In one embodiment, the selected thresholds define the borders between “fraudulent,” “suspicious” and/or “normal” activities. For example, thresholds may be set for ranges of times during which authentication attempts are considered “normal.” Times outside of these ranges may be considered suspicious or fraudulent and may increase the risk level accordingly. Various other thresholds may be determined using any or all of the parameters discussed above. In one embodiment, the thresholds may be set automatically by the machine learning algorithm which, as mentioned, identifies a correlation between fraudulent/legitimate activity and the various parameters.

Once the initial parameters and thresholds are determined, at 503 the distance of the parameters for the current transaction are compared to the existing historical parameters. This is accomplished in one embodiment with a mathematical approach using machine learning or other algorithm capable of determining correlations between data sets. In general, the greater the distance to “normal” parameters, the more risk associated with the current transaction.

Following the evaluation, at 504, a determination is made as to whether the final value for the parameters are within the chosen threshold(s) when compared to the historical data set. If not, then at 505 this is determined to be an unusual activity (e.g., suspicious or fraudulent) and user may be required to authenticate using more rigorous authentication techniques (e.g., explicit biometric authentication). In the embodiment shown in FIG. 4, the risk level 407 may be elevated, thereby requiring more stringent authentication. If the parameters are within the selected thresholds, then at 506 the interaction is considered to be a normal activity and less rigorous (or no) authentication may be used (e.g., non-intrusive authentication such as described above).

In either case, at 506, the historical data is updated to reflect the latest authentication results. In this manner, the historical data used to detect suspicious or fraudulent activity may be continually updated to reflect new data points and thresholds. For example, if the user enters into a transaction from an uncharacteristic location or at an unusual time, then this may be identified as an unusual activity at 505. However, if the user successfully authenticates, then at 506 the historical data may be updated to reflect the fact that the legitimate user authenticated at this particular location and time. Consequently, this particular location and/or time may no longer be considered “unusual” or, more precisely, the “riskiness” associated with this location and/or time may be decreased.

Different mathematical approaches may be used to determine the “distance” between the parameters of the current transaction and the historical parameters (e.g., operation 503 in FIG. 5). One particular approach is known as Anomaly Detection which may be based on a Gaussian distribution. While the discussion below will focus on Anomaly Detection, various other machine learning algorithms can also be applied.

An Anomaly Detection algorithm employed in one embodiment of the invention is illustrated in FIG. 6. At 601, a set of initial parameters are selected that may be used to indicate fraudulent activity (P₁ . . . P_(m)). Ideally, the parameters are selected to have the strongest correlation with fraudulent and/or legitimate activities. As mentioned above, the initial parameters may be selected using a training process using existing authentication data collected over a period of time.

At 602, for each parameter (P₁), with an existing dataset history (h₁ . . . h_(m)), the dataset is normalized if it is not sufficiently Gaussan. Once normalized, the mean (μ) and the variance (σ) parameters of the Gaussian distribution are determined based on the dataset history (h₁ . . . h_(m)). In one embodiment, this is accomplished using the following equations:

$\begin{matrix} {\mu_{i} = {\frac{1}{m}{\sum\limits_{j = 1}^{m}h_{j}}}} & i \\ {\sigma_{i}^{2} = {\frac{1}{m}{\sum\limits_{j = 1}^{m}\left( {h_{j} - \mu_{i}} \right)^{2}}}} & {ii} \end{matrix}$

At 603, for each new transaction with parameters (x₁ . . . x_(m)), the Gaussian distribution for each new parameter is calculated based on the history. In one embodiment, this is accomplished with the following equation:

$\begin{matrix} {{p\left( x_{i} \right)} = {\frac{1}{\sigma_{i}\sqrt{2\pi}}^{\frac{- {({x_{i} - \mu_{i}})}^{2}}{2\sigma_{i}^{2}}}}} & i \end{matrix}$

At 604, p(x) is computed for all parameters combined. In one embodiment, this is accomplished according to the following equation:

$\begin{matrix} {{p(x)} = {\prod\limits_{j = 1}^{m}{p\left( x_{j} \right)}}} & i \end{matrix}$

If p(x)<T (the chosen threshold), determined at 605, then this is determined to be an unusual behavior at 606. Consequently, one or more rigorous authentication techniques may be requested (e.g., explicit biometric authentication). If, however, p(x)≧T, then at 607, the interaction is identified as a normal activity and less stringent authentication (e.g., non-intrusive authentication as described above) or no authentication may be required.

In either case, at 608, the dataset history is updated with the new parameters (P₁ . . . P_(m)) and the associated authentication results. For example, if authentication was successful at 606, then the dataset history may be updated to reflect the successful authentication associated with these parameters.

Exemplary Data Processing Devices

FIG. 7 is a block diagram illustrating an exemplary clients and servers which may be used in some embodiments of the invention. It should be understood that while FIG. 7 illustrates various components of a computer system, it is not intended to represent any particular architecture or manner of interconnecting the components as such details are not germane to the present invention. It will be appreciated that other computer systems that have fewer components or more components may also be used with the present invention.

As illustrated in FIG. 7, the computer system 700, which is a form of a data processing system, includes the bus(es) 750 which is coupled with the processing system 720, power supply 725, memory 730, and the nonvolatile memory 740 (e.g., a hard drive, flash memory, Phase-Change Memory (PCM), etc.). The bus(es) 750 may be connected to each other through various bridges, controllers, and/or adapters as is well known in the art. The processing system 720 may retrieve instruction(s) from the memory 730 and/or the nonvolatile memory 740, and execute the instructions to perform operations as described above. The bus 750 interconnects the above components together and also interconnects those components to the optional dock 760, the display controller & display device 770, Input/Output devices 780 (e.g., NIC (Network Interface Card), a cursor control (e.g., mouse, touchscreen, touchpad, etc.), a keyboard, etc.), and the optional wireless transceiver(s) 790 (e.g., Bluetooth, WiFi, Infrared, etc.).

FIG. 8 is a block diagram illustrating an exemplary data processing system which may be used in some embodiments of the invention. For example, the data processing system 800 may be a handheld computer, a personal digital assistant (PDA), a mobile telephone, a portable gaming system, a portable media player, a tablet or a handheld computing device which may include a mobile telephone, a media player, and/or a gaming system. As another example, the data processing system 800 may be a network computer or an embedded processing device within another device.

According to one embodiment of the invention, the exemplary architecture of the data processing system 800 may be used for the mobile devices described above. The data processing system 800 includes the processing system 820, which may include one or more microprocessors and/or a system on an integrated circuit. The processing system 820 is coupled with a memory 810, a power supply 825 (which includes one or more batteries) an audio input/output 840, a display controller and display device 860, optional input/output 850, input device(s) 870, and wireless transceiver(s) 830. It will be appreciated that additional components, not shown in FIG. 8, may also be a part of the data processing system 800 in certain embodiments of the invention, and in certain embodiments of the invention fewer components than shown in FIG. 8 may be used. In addition, it will be appreciated that one or more buses, not shown in FIG. 8, may be used to interconnect the various components as is well known in the art.

The memory 810 may store data and/or programs for execution by the data processing system 800. The audio input/output 840 may include a microphone and/or a speaker to, for example, play music and/or provide telephony functionality through the speaker and microphone. The display controller and display device 860 may include a graphical user interface (GUI). The wireless (e.g., RF) transceivers 830 (e.g., a WiFi transceiver, an infrared transceiver, a Bluetooth transceiver, a wireless cellular telephony transceiver, etc.) may be used to communicate with other data processing systems. The one or more input devices 870 allow a user to provide input to the system. These input devices may be a keypad, keyboard, touch panel, multi touch panel, etc. The optional other input/output 850 may be a connector for a dock.

Embodiments of the invention may include various steps as set forth above. The steps may be embodied in machine-executable instructions which cause a general-purpose or special-purpose processor to perform certain steps. Alternatively, these steps may be performed by specific hardware components that contain hardwired logic for performing the steps, or by any combination of programmed computer components and custom hardware components.

Elements of the present invention may also be provided as a machine-readable medium for storing the machine-executable program code. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, or other type of media/machine-readable medium suitable for storing electronic program code.

Throughout the foregoing description, for the purposes of explanation, numerous specific details were set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the invention may be practiced without some of these specific details. For example, it will be readily apparent to those of skill in the art that the functional modules and methods described herein may be implemented as software, hardware or any combination thereof. Moreover, although some embodiments of the invention are described herein within the context of a mobile computing environment, the underlying principles of the invention are not limited to a mobile computing implementation. Virtually any type of client or peer data processing devices may be used in some embodiments including, for example, desktop or workstation computers. Accordingly, the scope and spirit of the invention should be judged in terms of the claims which follow.

Embodiments of the invention may include various steps as set forth above. The steps may be embodied in machine-executable instructions which cause a general-purpose or special-purpose processor to perform certain steps. Alternatively, these steps may be performed by specific hardware components that contain hardwired logic for performing the steps, or by any combination of programmed computer components and custom hardware components. 

1. A method implemented within an authentication system comprising: selecting a set of parameters related to user activity on a client device; receiving a request to authenticate the user for a current transaction; responsively calculating a distance between parameters associated with the current transaction and historical parameters from an existing dataset; determining a risk level associated with the current transaction based on the calculated distances between the parameters associated with the current transaction and the historical parameters; selecting one or more authentication techniques required to authenticate the user based on the risk level; performing the one or more authentication techniques to attempt to authenticate the user and generating an authentication result; and updating the historical parameters using the parameters associated with the current transaction and the authentication result.
 2. The method as in claim 1 wherein the parameters include parameters associated with authenticator identifiers or keys used to perform authentication, parameters associated with a time of authentication, parameters associated with a location of authentication, parameters associated with network connectivity and/or parameters associated with a biometric score generated by a client device authenticator.
 3. The method as in claim 1 wherein the risk level is set to a first level representing a normal user behavior if the distance between one or more of the parameters associated with the current transaction and the corresponding historical parameters is below a specified threshold.
 4. The method as in claim 3 wherein the risk level is set to a second level representing a suspicious user behavior if the distance between one or more of the parameters associated with the current transaction and the corresponding historical parameters is above a specified threshold.
 5. The method as in claim 1 wherein selecting comprises: selecting more rigorous authentication techniques for relatively higher risk levels and selecting relatively less rigorous authentication techniques or no authentication techniques for relatively lower risk levels.
 6. The method as in claim 5 wherein the more rigorous authentication techniques comprise explicit biometric user authentication.
 7. The method as in claim 6 wherein the less rigorous authentication techniques comprise non-intrusive authentication techniques.
 8. The method as in claim 1 further comprising: employing machine learning to select the set of parameters by performing a correlation between each parameter and results of prior authentication events.
 9. The method as in claim 8 wherein parameters are selected to be included in the set of parameters which have a relatively high correlation with successful authentication events and/or unsuccessful authentication events.
 10. The method as in claim 1 wherein calculating a distance between parameters associated with the current transaction and historical parameters comprises performing anomaly detection using a Gaussian distribution of the parameters.
 11. A non-transitory machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform the operations of: selecting a set of parameters related to user activity on a client device; receiving a request to authenticate the user for a current transaction; responsively calculating a distance between parameters associated with the current transaction and historical parameters from an existing dataset; determining a risk level associated with the current transaction based on the calculated distances between the parameters associated with the current transaction and the historical parameters; selecting one or more authentication techniques required to authenticate the user based on the risk level; performing the one or more authentication techniques to attempt to authenticate the user and generating an authentication result; and updating the historical parameters using the parameters associated with the current transaction and the authentication result.
 12. The machine-readable medium as in claim 11 wherein the parameters include parameters associated with authenticator identifiers or keys used to perform authentication, parameters associated with a time of authentication, parameters associated with a location of authentication, parameters associated with network connectivity and/or parameters associated with a biometric score generated by a client device authenticator.
 13. The machine-readable medium as in claim 11 wherein the risk level is set to a first level representing a normal user behavior if the distance between one or more of the parameters associated with the current transaction and the corresponding historical parameters is below a specified threshold.
 14. The machine-readable medium as in claim 13 wherein the risk level is set to a second level representing a suspicious user behavior if the distance between one or more of the parameters associated with the current transaction and the corresponding historical parameters is above a specified threshold.
 15. The machine-readable medium as in claim 11 wherein selecting comprises: selecting more rigorous authentication techniques for relatively higher risk levels and selecting relatively less rigorous authentication techniques or no authentication techniques for relatively lower risk levels.
 16. The machine-readable medium as in claim 15 wherein the more rigorous authentication techniques comprise explicit biometric user authentication.
 17. The machine-readable medium as in claim 16 wherein the less rigorous authentication techniques comprise non-intrusive authentication techniques.
 18. The machine-readable medium as in claim 11 comprising additional program code to cause the machine to perform the operation of: employing machine learning to select the set of parameters by performing a correlation between each parameter and results of prior authentication events.
 19. The machine-readable medium as in claim 18 wherein parameters are selected to be included in the set of parameters which have a relatively high correlation with successful authentication events and/or unsuccessful authentication events.
 20. The machine-readable medium as in claim 11 wherein calculating a distance between parameters associated with the current transaction and historical parameters comprises performing anomaly detection using a Gaussian distribution of the parameters.
 21. A system comprising: a client device providing a set of parameters related to activity of a current user; an authentication server to receive a request to authenticate the user for a current transaction; the authentication server comprising a risk analysis circuitry to responsively calculate a distance between parameters associated with the current transaction and historical parameters from an existing dataset; the risk analysis circuitry to determine a risk level associated with the current transaction based on the calculated distances between the parameters associated with the current transaction and the historical parameters and selecting one or more authentication techniques required to authenticate the user based on the risk level; the client device comprising an authentication engine to perform the one or more authentication techniques to attempt to authenticate the user and generating an authentication result; and a result analysis and update circuitry to update the historical parameters using the parameters associated with the current transaction and the authentication result.
 22. The system as in claim 21 wherein the parameters include parameters associated with authenticator identifiers or keys used to perform authentication, parameters associated with a time of authentication, parameters associated with a location of authentication, parameters associated with network connectivity and/or parameters associated with a biometric score generated by a client device authenticator.
 23. The system as in claim 21 wherein the risk level is set to a first level representing a normal user behavior if the distance between one or more of the parameters associated with the current transaction and the corresponding historical parameters is below a specified threshold.
 24. The system as in claim 23 wherein the risk level is set to a second level representing a suspicious user behavior if the distance between one or more of the parameters associated with the current transaction and the corresponding historical parameters is above a specified threshold. 